home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.20010306-20010921
/
000133_fdc@watsun.cc.columbia.edu_Mon May 14 10:39:05 EDT 2001.msg
< prev
next >
Wrap
Text File
|
2001-09-20
|
2KB
|
44 lines
Article: 12427 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!watsun.cc.columbia.edu!fdc
From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Server answer and return to interactive mode
Date: 14 May 2001 14:38:07 GMT
Organization: Columbia University
Lines: 27
Message-ID: <9doqkf$pod$1@newsmaster.cc.columbia.edu>
References: <3affebd8$0$43054$456d72a3@news.skynet.be>
NNTP-Posting-Host: watsun.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 989851087 26381 128.59.39.2 (14 May 2001 14:38:07 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 14 May 2001 14:38:07 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:12427
In article <3affebd8$0$43054$456d72a3@news.skynet.be>,
Nathan Rousseau <nathan.rousseau@planetmedica.com> wrote:
: I want to write a server script that answer phone call automatically.
: At the end of my ksc file, i have ANSWER and SERVER.
: When i send a file to the server, he answers, receive the file and ...
: return to interactive mode.
: How can i say that the server has to wait for other incoming call when he
: finishes one?
:
Something like:
set port blah
set speed blah
set modem type blah
cd blah
disable cd ; (if desired) don't let client change directories
disable bye ; client must use FINISH (not BYE)
set carrier watch on ; break out of server if client hangs up
while true {
answer
if success server
}
The "while true" condition can be elaborated to provide any other desired
criterion for loop exit.
- Frank